package com.example.helloword.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

//@Data
public class User {
    private final String tag = "111";
    private String name;
    private Integer age;

    public void setName(String name) {
        this.name = name;
    }


    public String getName() {
        return name;
    }

    @Override
    public String toString() {
        return "Userxxxx{" +
                "name='" + name + '\'' +
                '}';
    }

    public User(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

    public User() {
    }
}
